from PySide6.QtCore import QObject
from src.simple.simple_window import SimpleMainWindow


class SimpleController(QObject):
    """
    演示程序控制器 - 纯粹的Qt界面演示
    """
    
    def __init__(self):
        super().__init__()
        
        # 创建主窗口
        self.main_window = SimpleMainWindow()
        
    def show(self):
        """显示主窗口"""
        self.main_window.show()
        
    def cleanup(self):
        """清理资源"""
        # 纯界面演示，无需特殊清理
        pass